// $URL: http://mingw-lib.googlecode.com/svn/trunk/working/yt01/main.cpp $
// $Rev: 60 $
// $Author: akio.miyoshi $
// $Date:: 2010-05-05 12:18:58 +0000#$

#include <QtCore>
#include <QtGui>
#include "widget.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QCoreApplication::setOrganizationDomain("akio.miyoshi");
    QCoreApplication::setOrganizationName("akio.miyoshi");
    QCoreApplication::setApplicationName("yt01");
    QSettings settings(
            QSettings::IniFormat, //QSettings::NativeFormat,
            QSettings::UserScope, // QSettings::SystemScope,
            QCoreApplication::organizationName(),
            QCoreApplication::applicationName()
            );
#if 0x0
    settings.setValue("twitpic/username", "dummy-user");
    settings.setValue("twitpic/password", "dummy-pass");
#endif

    Widget w;
    w.show();
    return a.exec();
}
